

<h2>Ingresar al Sistema</h2>

    <form action="<?php echo url_for('login/login') ?>" method="POST">
  <table>
   <?php echo $form ?>     
    <tr>
      <td colspan="2">
        <input type="submit" value="Entrar" />
      </td>
    </tr>
  </table>
</form>

<?php if ($sf_user->hasFlash('error')): ?>
  <?php echo '<script language="JavaScript"> alert("'.$sf_user->getFlash('error').'");</script>' ?>
<?php endif ?>